package taishan

// RouteArray 路由规则解析数组
// /a/bb|cc/*/:/b/*
type RouteArray []string

// PathArray path解析数组
// /a/b/c
//type PathArray []string

type RouteConfig struct {
	Host string
	RouteData
}
type RouteData struct {
	Method    string
	RouteRule string
	Handler   HandlerFunc
}

type MiddlewaresData struct {
	Prefix      string
	Middlewares []IMiddleware
}

type MiddlewareConfig struct {
	Name    string
	Setting string
	Handler IMiddleware
}
